#pragma once

#include "../../config.hpp"

namespace dcs {

    

	struct uploader_t {
		struct impl;
		std::unique_ptr<impl> impl_;

		uploader_t(const log_handler_t&, const std::string &);
		~uploader_t();

		bool start(std::uint16_t, std::uint16_t, std::uint32_t);
		void stop();

		void update(const std::filesystem::path &, std::time_t, std::uint16_t,
			const std::vector<float>&, const std::uint64_t&,
			const std::function<void(const std::filesystem::path&, std::time_t)>&);
	};
}